package com.example.flower_shop.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.flower_shop.entity.UserCollect;
import com.example.flower_shop.vo.collect.CollectPageReq;
import com.example.flower_shop.vo.collect.CollectRespVO;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zbxComputer
 * @description 针对表【sys_user_collect(用户收藏商品表)】的数据库操作Mapper
 * @createDate 2024-11-21 12:48:27
 * @Entity com.example.flower_shop.entity.UserCollect
 */
public interface UserCollectMapper extends MPJBaseMapper<UserCollect> {

    IPage<CollectRespVO> pageQuery(Page<?> page,
                                   @Param("req") CollectPageReq req,
                                   @Param("userId") long userId);
}




